package com.atguigu.com.miaosha.feign;

import org.springframework.stereotype.Component;

/**
 * @author 满超
 * @date 2020/07/04
 **/
@Component
public class Couponimpl implements CouponFeign {
    @Override
    public R info(Long id) {
        //远程调用失败了执行的本地方法
        return R.error();
    }
}
